package com.carol.lmsbe.dto;

import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
 * 更新实验室请求DTO
 */
@Data
public class LaboratoryUpdateRequest {

    @NotNull(message = "ID不能为空")
    private Long id;

    @NotBlank(message = "实验室名称不能为空")
    private String name;

    @NotBlank(message = "实验室位置不能为空")
    private String location;

    private String description;

    @NotBlank(message = "负责人姓名不能为空")
    private String managerName;

    @NotBlank(message = "负责人电话不能为空")
    private String managerPhone;

    @NotNull(message = "状态不能为空")
    private Integer status;
}
